package kr.hkit.powerjava.chapter11;

public class StudentTest {
	public static void main(String[] args) {
		Std std1 = new Std("이자바", "공대", "헬기정비과", 7, 2, 4);
		UnderGraduate std2 = new UnderGraduate(std1.name, std1.party, std1.department, std1.stdNum, 
				std1.grade, std1.score, "농구동아리");
		Graduate std3 = new Graduate(std1.name, std1.party, std1.department, std1.stdNum, std1.grade, 
				std1.score, "연구", 0.5);
		
		System.out.println(std1);
		System.out.println(std2);
		System.out.println(std3);
	}
}
